package com.bbc.yuntun.web.controller.tool;


import com.bbc.yuntun.common.core.controller.BaseController;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * swagger 接口
 *
 * @author ruoyi
 */
@Tag(name = "swagger接口")
@Controller
@RequestMapping("/tool/swagger")
public class SwaggerController extends BaseController {

    /**
     * swagger文档
     */
    @Operation(summary = "swagger文档")
    @GetMapping
    public String index() {
        return redirect("/doc.html");
    }

}
